home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Format 1995 June
/
MacFormat 25.iso
/
Shareware City
/
Developers
/
fortran-to-c-translator-11
/
Mac F2C 1.1
/
Mac F2C Libraries
/
libI77 Sources
/
rawio.h
< prev
next >
Wrap
Text File
|
1995-01-13
|
771b
|
44 lines
#ifdef KR_headers
extern FILE *fdopen();
#else
#ifdef MSDOS
#include "io.h"
#define close _close
#define creat _creat
#define open _open
#define read _read
#define write _write
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifndef MSDOS
#ifdef OPEN_DECL
extern int creat(const char*,int), open(const char*,int);
#endif
extern int close(int);
extern int read(int,void*,size_t), write(int,void*,size_t);
extern int unlink(const char*);
#ifndef _POSIX_SOURCE
#ifndef NON_UNIX_STDIO
extern FILE *fdopen(int, const char*);
#endif
#endif
#endif
extern char *mktemp(char*);
#ifdef __cplusplus
}
#endif
#endif
#ifndef __MWERKS__ /* IMT 13Jan95 Do not include fcntl.h for MetroWerks */
#include "fcntl.h"
#endif
#ifndef O_WRONLY
#define O_RDONLY 0
#define O_WRONLY 1
#endif